#ifndef _TEXTUREMANAGER_H_
#define _TEXTUREMANAGER_H_

#include "Texture.h"
#include <string>
#include <map>

class CTextureManager
{
public:
	
	CTexture* GetTexture(const std::string& strTextName);
	
	bool ReleaseTexture(const std::string& strTextName);

	static CTextureManager* GetInstance();

protected:

	CTextureManager();
	~CTextureManager();

private:
	typedef std::map<std::string,CTexture*> TTextureMap;

	TTextureMap m_Textures;
};

#endif  